package com.mall.mymall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.mymall.dao.dto.EmployeeDto;
import com.mall.mymall.dao.dto.query.EmployeeQuery;
import com.mall.mymall.dao.entity.Employees;
import org.apache.ibatis.annotations.Param;

public interface EmployeesMapper extends BaseMapper<Employees> {

    IPage<EmployeeDto> selectEmployeesPage(Page<EmployeeDto> page, @Param("query") EmployeeQuery query);

}
